package com.ml.mall.bean.req.sys;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * Created by kyyang on 2021/1/10 15:35
 */
@Data
public class SysUserDto {

    @NotBlank(message = "acc is not null!")
    private String acc;

    private String pwd;

    @NotNull(message = "roleId is not null!")
    private Integer roleId;

//    @NotNull(message = "companyId is not null!")
    private Long companyId;

//    @NotNull(message = "roleType is not null!")
    private Integer roleType;

    private String headUrl;

    @NotBlank(message = "name is not null!")
    private String name;

    private String lastName;

    private String email;

   // private String salt;

    private String telNumber;

    private Integer state;
}
